/*
 * @authors :Bin Mei
 * @date    :2017-07-28
 * @description：票交汇APP-h5 -> 账户模块
 */
import Auth from 'src/utils/requireAuth';

module.exports = {
	path: 'account',
	childRoutes: [
	],
	indexRoute: {
		getComponent(location, cb) {
			require.ensure([], (require) => {
				cb(null, require('./Index'));
			});
		},
		onEnter: (nextState, replace) => Auth(nextState, replace,{ title: '账户',type:'HOME',requireAuth:true })
	}
}